package com.zl_huang.example.service;

import java.util.List;
import java.util.Map;

import com.zl_huang.example.model.Test;
import com.zl_huang.example.model.vo.TestVO;

public interface ITestService {
	public Integer createTest(Test test)throws Exception;
	public Integer editTest(Test test)throws Exception;
	public Integer deleteTest(Integer id)throws Exception;
	public List<Test> findAllTest()throws Exception;
	public TestVO getTestVOById(Integer id) throws Exception;	
	public Test getTestById(Integer id)throws Exception;
	public Map<Integer, List<TestVO>> getTestListBySubject(Integer subId, String userId) throws Exception;

}
